# 企业详情
from rest_framework import serializers
from apps.recruit.models import Enterprise
from apps.recruit.serializers.JobSerializer import JobObtainModelSerializer

# 企业详细信息
class EnterpriseDetailModelSerializer(serializers.ModelSerializer):
    recruits = JobObtainModelSerializer(many=True)

    class Meta:
        model = Enterprise
        fields = ('id','recruits','name','summary','content','city','address',
                  'labels','coordinate','logo','url','visits','users')

